package com.guguskins.back.controller;


import com.guguskins.back.entity.vo.ResultVo;
import com.guguskins.back.service.GuPrizeRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 奖品记录表 前端控制器
 * </p>
 *
 * @author mybatis-plus
 * @since 2021-07-15
 */
@RestController
@RequestMapping("/guPrizeRecord")
public class GuPrizeRecordController {
    @Autowired
    private GuPrizeRecordService prizeRecordService;

    @GetMapping("/back/list")
    public ResultVo backList() {
        return ResultVo.success(prizeRecordService.findByList(), "查找成功");
    }
}
